<?php echo $html->css('/products/css/page/categories');?>
<?php 
$product_categories = ClassRegistry::init('products.ProductCategory')->find('all', array(
			'fileds'	=> array('id', 'name', 'alias'),
			'contain'	=>false
		));
?>

<div class="title">
    <h2 class="title_product"><?php __("Danh mục sản phẩm"); ?></h2>
</div>            
<ul class="news_list">
    <?php foreach($product_categories as $category){ ?>
    <?php 
    if(isset($product_category)){
        if($category['ProductCategory']['alias'] == $product_category['ProductCategory']['alias']) 
            $class = "class='current'";
        else $class = "";  
    }else $class = "";                       
    ?>                
        <li <?php echo $class; ?>><a href="<?php echo $html->url('/products/products/listproducts/') . $category['ProductCategory']['alias'];?>"><span><?php echo $category['ProductCategory']['name']; ?></span></a></li>
    <?php } ?>
</ul>